import { CreateApiPropertyDoc } from '@midwayjs/swagger';

export class Result<T> {
    @CreateApiPropertyDoc('code', {
        example: '1000'
    })
    code: number;
    @CreateApiPropertyDoc('data', {
    })
    data: T;
    @CreateApiPropertyDoc('message', {
    })
    message: string;
}
